package ModelLayer;

/**
 * Write a description of class Customer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Customer extends Person
{
    private int customerId;
    private int customerGroup;

    /**
     * Constructor for objects of class Customer.
     * @param name, the name of the customer.
     * @param phoneNumber, the phonenumber on this customer.
     * @param address, the address on this customer.
     * @param city, the city on this customer.
     * @param zipCode, the zipcode on this customer.
     * @param customerGroup, the customerGroup this customer is part of.
     */
    public Customer(String name, String phoneNumber, String address, String city, String zipCode, int customerGroup)
    {
        super(name, phoneNumber, address, city, zipCode);
        customerId = 0;
        this.customerGroup = customerGroup;
    }

    /**
     * Returns the id on this customer.
     * @return customerId, the id returned.
     */
    public int getId()
    {
        return customerId;
    }

    /**
     * Sets the id on this customer.
     * @param customerId, the id to be set.
     */
    public void setId(int customerId)
    {
        this.customerId = customerId;
    }

    /**
     * Returns null.
     * @return null, eh??.
     * skulle nok ikke have været en abstract metode.
     */
    public String getUserName()
    {
        return null;
    }

    /**
     * Returns null.
     * @return null, eh??.
     * skulle nok ikke have været en abstract metode.
     */
    public String getPassword()
    {
        return null;
    }

    /**
     * Returns the customerGroup on this customer.
     * @return customerGroup, the customerGroup returned.
     */
    public int getCustomeGroup()
    {
        return customerGroup;
    }

    /**
     * Sets the customerGroup on this customer.
     * @param customerGroup, the customerGroup to be set.
     */
    public void setCustomerGroup(int customerGroup)
    {
        this.customerGroup = customerGroup;
    }

}
